package com.lkc.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.lkc.enums.SystemContains;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * (Exam)表实体类
 *
 * @author 椰咩咩咩
 * @since 2022-12-25 20:41:41
 */
@SuppressWarnings("serial")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("ymm_exam")
@Accessors(chain = true)
public class Exam {

    @TableId
    private Long id;

    //考试的名称
    private String examName;
    //考试的总分
    private Integer totalScore;
    //考试的及格分数
    private Integer passScore;
    //考试的开始时间
    private Date startTime;
    //考试的状态(0考试未开始，1正在考试，2考试结束，3考试状态未知)
    @TableField(exist = false)
    private String status;
    //考试的时长，单位分钟
    private Integer duration;
    //考试的结束时间
    private Date endTime;
    //逻辑删除
    private Integer delFlag;


}
